package com.seari.client;

public abstract class BaseClient implements Runnable
{
	String url;
	
	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}
	
	//数据处理逻辑
	public abstract void process() throws Exception;
	
	@Override
	public void run() {
		try {
			process();
		} catch (Exception e) {
			// TODO: handle exception'
			e.printStackTrace();
		}
	}
	
}
